package cn.lili.modules.message.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.message.client.NoticeMessageClient;
import cn.lili.modules.message.entity.dto.NoticeMessageDTO;
import org.springframework.stereotype.Component;

/**
 * @author: ftyy
 * @date: 2022-01-17 11:05
 * @description: 通知类消息Fallback
 */
public class NoticeMessageFallback implements NoticeMessageClient {

    @Override
    public void noticeMessage(NoticeMessageDTO noticeMessageDTO) {
        throw new ServiceException();
    }
}
